package com.by.toolkitspring.logback;

import ch.qos.logback.core.PropertyDefinerBase;
import cn.hutool.core.net.NetUtil;

public class MacDefiner extends PropertyDefinerBase {

    private static String macAddress;

    static {
        macAddress = NetUtil.getLocalMacAddress();
    }

    @Override
    public String getPropertyValue() {
        return macAddress;
    }

}
